<?php 
$url_userwu = $this->url(array('module'=>'userWu','controller'=>'user','action'=>'index',null));
$chg_pwd=$this->url(array('module'=>'userWu','controller'=>'user','action'=>'change-password','id'=>$this->user_id,null));
$tr = Application_Form_FrmLanguages::getCurrentlanguage();
$rowbranch=$this->branchname;
?>
<title><?php echo $tr->translate("MENU_RSVACL_USER_EDIT_USER");?></title>
<?php $form=$this->form;?>
<style>
fieldset.fifthy {	
	border-right: 0px;
	width: 50%;
}
table.user td{
	vertical-align: top;
   
}
</style> 
<br/>
<div class="right" style="width: 97%; padding: 10px;">
<form id="frm" action="<?php echo $form->getAction(); ?>" method="post" enctype="multipart/form-data" >
	<div class="btn" align="right">
			    <button name="save" class="bluebold" type="submit">
			        <img alt="" src="<?php echo BASE_URL?>/images/icon/apply2.png">
			        <?php echo $tr->translate('UPDATE');?>
			    </button>
	</div>
				<button name="cancel" value="cancel" class="btn btn-small btn-warning">
				<b><i class="fa fa-times"></i></b> &nbsp;Cancel					 
				</button>
	
	<div class="view-table">
		<div class="head_form">
			<?php echo $tr->translate('AUTHENTICATION');?>
		</div>
		<div class="contain_form shadow">
			<table class="height">
				<tr class="height">
					<td><?php echo $tr->translate('GENDER_TITLE');?></td>
					<td><?php echo $form->getElement('title');?></td>
				</tr>
				<tr class="height">
					<td><?php echo $tr->translate('FULL_NAME');?></td>
					<td><?php echo $form->getElement('fullname');?></td>
				</tr>
				<tr class="height">
					<td><?php echo $tr->translate('USER_NAME');?></td>
					<td><?php echo $form->getElement('username');?></td>
				</tr>
				<tr class="height">
					<td><?php echo $tr->translate('EMAIL');?></td>
					<td><?php echo $form->getElement('email');?></td>
				</tr>			
				<tr class="height">
					<td><?php echo $tr->translate('USER_TYPE');?></td>
					<td><?php echo $form->getElement('user_type_id');?></td>
				</tr>
				<tr>
					<td><?php echo "Phone Number" ?></td>
					<td><?php echo $form->getElement('phone');?></td>
				</tr>
				<tr>
					<td><?php echo "Photo User"?></td>
						<?php echo $form->getElement('old_photo');?>
					<td><?php echo $form->getElement('photo');?></td>
				</tr>
				<tr class="height">
					<td></td>
					<td><div class="access" style="float: left; color: blue;"> <span><a href="<?php echo $chg_pwd; ?>" style="color: blue;"><?php echo $tr->translate('CHANGE_PSW');?></a></span></div></td>				
				</tr>
			</table>
		</div>
	</div>
</form>
</div>

